package gui.dataTypes;

/**
 *
 * @author Marcin Kamionowski
 */
public class DownloadListRefreshData {

    private final DownloadListRefreshStates rowState;
    private final Integer movedFrom;
    private final Integer movedTo;
    private boolean done;

    public DownloadListRefreshData(DownloadListRefreshStates rowState, Integer movedFrom, Integer movedTo) {
        this.rowState = rowState;
        this.movedFrom = movedFrom;
        this.movedTo = movedTo;
        this.done = false;
    }

    public Integer getMovedFrom() {
        return movedFrom;
    }

    public Integer getMovedTo() {
        return movedTo;
    }

    public DownloadListRefreshStates getRowState() {
        return rowState;
    }

    public boolean isDone() {
        return done;
    }

    public void setDone(boolean done) {
        this.done = done;
    }
}
